package com.ruoyi.srmcontract.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import java.util.Date;

/**
 * ERP合同中间对象 jac_contract_itemtoerp
 * 
 * @author ygx
 * @date 2020-08-18
 */
public class JacContractItemtoerp
{
    private static final long serialVersionUID = 1L;

    /** 合同编号 */
    @Excel(name = "合同编号")
    private String contractcode;

    /** 公司（基地）编码 */
    @Excel(name = "公司", readConverterExp = "基=地")
    private String companycode;

    /** 采购部门 */
    @Excel(name = "采购部门")
    private String departmentcode;

    /** 供应商编号 */
    @Excel(name = "供应商编号")
    private String vendorcode;
    
    /** 供应商名称 */
    @Excel(name = "供应商名称")
    private String vendorname;
    
    /** 合同年份 */
    @Excel(name = "合同年份")
    private String contractyear;

    /** 合同生效时间 */
    @Excel(name = "合同生效时间")
    private String contractbegin;

    /** 合同失效时间 */
    @Excel(name = "合同失效时间")
    private String contractend;

    /** erp行号 */
    @Excel(name = "erp行号")
    private Long erpid;

    /** erp合同号 */
    @Excel(name = "erp合同号")
    private String erpcontractcode;

    /** 物料编号 */
    @Excel(name = "物料编号")
    private String itemcode;

    /** 物料名称 */
    @Excel(name = "物料名称")
    private String itemname;

    /** erp价格序号 */
    @Excel(name = "erp价格序号")
    private Long erpnum;

    /** 合同中物料生效时间 */
    @Excel(name = "合同中物料生效时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date validdate;

    /** 含税总金额 */
    @Excel(name = "含税总金额")
    private Double totalamount;

    /** 传输状态  A新增  D取消 */
    @Excel(name = "传输状态  A新增  D取消")
    private String srmflag;

    /** 传入时间 */
    @Excel(name = "传入时间", width = 30, dateFormat = "yyyy-MM-dd")
    private String crsj;

    /** 接收状态 */
    @Excel(name = "接收状态", width = 30, dateFormat = "yyyy-MM-dd")
    private String jszt;

    /** 接收时间 */
    @Excel(name = "接收时间", width = 30, dateFormat = "yyyy-MM-dd")
    private String jssj;

    /** $column.columnComment */
    @Excel(name = "接收时间")
    private String createusername;
    
    /** 公司名称*/
    private String companyname;
    
    /** 采购部门名称*/
    private String departmentname;
    
    /** 传入开始时间*/
    private String crsjstart;
    
    /** 传入接收时间*/
    private String crsjend;

    public void setContractcode(String contractcode) 
    {
        this.contractcode = contractcode;
    }

    public String getContractcode() 
    {
        return contractcode;
    }
    public void setCompanycode(String companycode) 
    {
        this.companycode = companycode;
    }

    public String getCompanycode() 
    {
        return companycode;
    }
    public void setDepartmentcode(String departmentcode) 
    {
        this.departmentcode = departmentcode;
    }

    public String getDepartmentcode() 
    {
        return departmentcode;
    }
    public void setVendorcode(String vendorcode) 
    {
        this.vendorcode = vendorcode;
    }

    public String getVendorcode() 
    {
        return vendorcode;
    }
    public void setContractyear(String contractyear) 
    {
        this.contractyear = contractyear;
    }
    
    public String getVendorname() {
		return vendorname;
	}

	public void setVendorname(String vendorname) {
		this.vendorname = vendorname;
	}

	public static long getSerialversionuid() {
		return serialVersionUID;
	}

	public String getContractyear() 
    {
        return contractyear;
    }
    public void setContractbegin(String contractbegin) 
    {
        this.contractbegin = contractbegin;
    }

    public String getContractbegin() 
    {
        return contractbegin;
    }
    public void setContractend(String contractend) 
    {
        this.contractend = contractend;
    }

    public String getContractend() 
    {
        return contractend;
    }
    public void setErpid(Long erpid) 
    {
        this.erpid = erpid;
    }

    public Long getErpid() 
    {
        return erpid;
    }
    public void setErpcontractcode(String erpcontractcode) 
    {
        this.erpcontractcode = erpcontractcode;
    }

    public String getErpcontractcode() 
    {
        return erpcontractcode;
    }
    public void setItemcode(String itemcode) 
    {
        this.itemcode = itemcode;
    }

    public String getItemcode() 
    {
        return itemcode;
    }
    public void setItemname(String itemname) 
    {
        this.itemname = itemname;
    }

    public String getItemname() 
    {
        return itemname;
    }
    public void setErpnum(Long erpnum) 
    {
        this.erpnum = erpnum;
    }

    public Long getErpnum() 
    {
        return erpnum;
    }
    public void setValiddate(Date validdate) 
    {
        this.validdate = validdate;
    }

    public Date getValiddate() 
    {
        return validdate;
    }
    public void setTotalamount(Double totalamount) 
    {
        this.totalamount = totalamount;
    }

    public Double getTotalamount() 
    {
        return totalamount;
    }
    public void setSrmflag(String srmflag) 
    {
        this.srmflag = srmflag;
    }

    public String getSrmflag() 
    {
        return srmflag;
    }
    public void setCrsj(String crsj) 
    {
        this.crsj = crsj;
    }

    public String getCrsj() 
    {
        return crsj;
    }
    public void setJszt(String jszt) 
    {
        this.jszt = jszt;
    }

    public String getJszt() 
    {
        return jszt;
    }
    public void setJssj(String jssj) 
    {
        this.jssj = jssj;
    }

    public String getJssj() 
    {
        return jssj;
    }
    public void setCreateusername(String createusername) 
    {
        this.createusername = createusername;
    }

    public String getCreateusername() 
    {
        return createusername;
    }

    public String getCompanyname() {
		return companyname;
	}

	public void setCompanyname(String companyname) {
		this.companyname = companyname;
	}

	public String getDepartmentname() {
		return departmentname;
	}

	public void setDepartmentname(String departmentname) {
		this.departmentname = departmentname;
	}
	
	

	public String getCrsjstart() {
		return crsjstart;
	}

	public void setCrsjstart(String crsjstart) {
		this.crsjstart = crsjstart;
	}

	public String getCrsjend() {
		return crsjend;
	}

	public void setCrsjend(String crsjend) {
		this.crsjend = crsjend;
	}

	@Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("contractcode", getContractcode())
            .append("companycode", getCompanycode())
            .append("companyname",getCompanyname())
            .append("departmentcode", getDepartmentcode())
            .append("departmentname",getDepartmentname())
            .append("vendorcode", getVendorcode())
            .append("vendorname", getVendorname())
            .append("contractyear", getContractyear())
            .append("contractbegin", getContractbegin())
            .append("contractend", getContractend())
            .append("erpid", getErpid())
            .append("erpcontractcode", getErpcontractcode())
            .append("itemcode", getItemcode())
            .append("itemname", getItemname())
            .append("erpnum", getErpnum())
            .append("validdate", getValiddate())
            .append("totalamount", getTotalamount())
            .append("srmflag", getSrmflag())
            .append("crsj", getCrsj())
            .append("jszt", getJszt())
            .append("jssj", getJssj())
            .append("createusername", getCreateusername())
            .append("crsjstart", getCrsjstart())
            .append("crsjend", getCrsjend())
            .toString();
    }
}
